Adwaita: shrink back big standalone osd buttons
authorLapo Calamandrei <calamandrei@gmail.com>
Wed, 16 Mar 2016 17:06:56 +0000 (18:06 +0100)
committerLapo Calamandrei <calamandrei@gmail.com>
Wed, 16 Mar 2016 17:06:56 +0000 (18:06 +0100)
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index e97d26935b9236cd8598b4d845d52e93c6eecb6d..c84951e507f63452c775b90bb94d1541fe7bd1f7 100644 (file)
@@ -528,10 +528,10 @@ button {
 
   // big standalone buttons like in Documents pager
   &.osd {
-    &.image-button {
-      min-height: 48px;
-      min-width: 48px;
-    }
+    min-width: 24px;
+    min-height: 32px;
+
+    &.image-button { min-width: 32px; }
 
     color: $osd_fg_color;
     border-radius: 5px;
index 98915224a6d6a155acdcdcca8f35ff3dabbe7cad..9d96821ed67aad953d401fb498efb9ecfd4a8d04 100644 (file)
@@ -552,6 +552,8 @@ row:selected button.sidebar-button:not(:active):not(:checked):not(:hover):not(di
   row:selected button.sidebar-button:not(:active):not(:checked):not(:hover):not(disabled):backdrop, row:selected button.flat:not(:active):not(:checked):not(:hover):not(disabled):backdrop {
     color: #949796; }
 button.osd {
+  min-width: 24px;
+  min-height: 32px;
   color: #eeeeec;
   border-radius: 5px;
   outline-color: rgba(238, 238, 236, 0.3);
@@ -566,8 +568,7 @@ button.osd {
   border: none;
   box-shadow: none; }
   button.osd.image-button {
-    min-height: 48px;
-    min-width: 48px; }
+    min-width: 32px; }
   button.osd:hover {
     color: white;
     border-color: rgba(0, 0, 0, 0.7);
index 846f082c398316e79ed8676a71feb38b5bf45b79..48c6ce44238cf8c9c07a2703c87514ccdd72796c 100644 (file)
@@ -554,6 +554,8 @@ row:selected button {
     row:selected button.sidebar-button:not(:active):not(:checked):not(:hover):not(disabled):backdrop, row:selected button.flat:not(:active):not(:checked):not(:hover):not(disabled):backdrop {
       color: white; }
 button.osd {
+  min-width: 24px;
+  min-height: 32px;
   color: #eeeeec;
   border-radius: 5px;
   outline-color: rgba(238, 238, 236, 0.3);
@@ -568,8 +570,7 @@ button.osd {
   border: none;
   box-shadow: none; }
   button.osd.image-button {
-    min-height: 48px;
-    min-width: 48px; }
+    min-width: 32px; }
   button.osd:hover {
     color: white;
     border-color: rgba(0, 0, 0, 0.7);